package com.murray.shop.background.pojo;

import java.util.List;

/**
 * @author Murray
 * @Date 2021/8/20
 * @Time 0:01
 * @Description 角色表
 */
public class Role {
    private Integer roleId;
    private String roleName;
    private Integer pid;
    private Integer status;
    private String remark;
    private List<Node> nodeList;


    @Override
    public String toString() {
        return "Role{" +
                "roleId=" + roleId +
                ", roleName='" + roleName + '\'' +
                ", pid=" + pid +
                ", status=" + status +
                ", remark='" + remark + '\'' +
                ", nodeList=" + nodeList +
                '}';
    }

    public List<Node> getNodeList() {
        return nodeList;
    }

    public void setNodeList(List<Node> nodeList) {
        this.nodeList = nodeList;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Role() {
    }

    public Role(Integer roleId, String roleName, Integer pid, Integer status, String remark) {
        this.roleId = roleId;
        this.roleName = roleName;
        this.pid = pid;
        this.status = status;
        this.remark = remark;
    }

}
